package cn.klaw.util;

import lombok.Getter;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import org.springframework.stereotype.Component;


@Component
public class ThreadPoolExecutorUtil {

    @Getter
    private static ThreadPoolTaskExecutor executor;

    public ThreadPoolExecutorUtil(ThreadPoolTaskExecutor executor) {
        ThreadPoolExecutorUtil.executor = executor;
    }

}
